import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/views/Login'
import PieChart from '@/components/PieChart'
import LineChartOne from '@/components/LineChartOne'
import LiveBox from '@/components/LiveBox'
import Index from '@/views/Index'
Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/home',
      name: 'Index',
      component: Index
    },
    {
      path: '/livebox',
      name: 'LiveBox',
      component: LiveBox

    },
    {
      path: '/piechart',
      name: 'PieChart',
      component: PieChart
    },
    {
      path: '/linechartone',
      name: 'LineChartOne',
      component: LineChartOne
    }
  ]
})